﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using DAL;

namespace BLL
{
    public class BCityOfRentCar
    {
        private readonly DCityOfRentCar _dCityOfRentCar = new DCityOfRentCar();
        public bool Exists(string cityName)
        {
            return _dCityOfRentCar.Exists(cityName);
        }
         
        public bool Add(Model.CityOfRentCarInfo model)
        {
            return _dCityOfRentCar.Add(model);
        }
         
        public bool Update(Model.CityOfRentCarInfo model)
        {
            return _dCityOfRentCar.Update(model);
        }
         
        public bool Delete(int id)
        {
            return _dCityOfRentCar.Delete(id);
        }
         
        public Model.CityOfRentCarInfo GetModel(int id)
        {
            return _dCityOfRentCar.GetModel(id);
        }
         
        public DataSet GetList(string strWhere)
        {
            return _dCityOfRentCar.GetList(strWhere);
        }
    }
}
